import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 引入字体图标
import "./assets/font/iconfont.css";
import "./assets/fonts/iconfont.css"
// https://vant-ui.github.io/vant/v2/#/zh-CN/quickstart
// $cnpm i vant@latest-v2 -S
// $cnpm i babel-plugin-import -D
import { Swipe, SwipeItem, Toast,Tab, Tabs,DropdownMenu, DropdownItem, Popup,DatetimePicker , Calendar,Cell, NoticeBar, Cascader ,field } from 'vant';
Vue.use(Swipe).use(SwipeItem).use(Toast).use(Tab).use(Tabs).use(DropdownMenu).use(DropdownItem).use(Popup).use(DatetimePicker ).use(Calendar).use(Cell).use( NoticeBar ).use( Cascader ).use(field)

// npm i -S vue-baidu-map
// 引入地图
import BaiduMap from 'vue-baidu-map'
Vue.use(BaiduMap,{
  // ak:"rQxHPQX1ua21rWnXzTbUh5KSSUbnefxR"
  ak:"NHWXEP9ChjSih5EnVA0imrCCoIhaYPBr"
 
})

// $cnpm i swiper@5 -S
import "swiper/css/swiper.min.css"

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
